package mspbots.tsheets.data.core.synclogs;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * mspbots.cw.data.core.synclogs.SyncLogsRequest
 *
 * @author <a href="https://github.com/vnobo">Alex bob</a>
 * @date Created by 2020/10/19
 */
@Data
@Validated
public class SyncLogsRequest implements Serializable {

    @NotNull(message = "Query params [startTime] can't null.")
    private LocalDateTime startTime;

    @NotNull(message = "Query params [endTime] can't null.")
    private LocalDateTime endTime;

    private String action;

}
